package com.fivefu.core.camera.vo.request;

import com.fivefu.core.camera.constant.StatusEnum;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class WorkorderVo {

    @ApiModelProperty(value = "事件编号",required = false)
    private Long eventId;

    @ApiModelProperty(value = "探头编号",required = true)
    private String cameraCode;

    @ApiModelProperty(value = "探头名称",required = true)
    private String cameraName;

    @ApiModelProperty(value = "所属城区",required = true)
    private String orderAreaid;

    @ApiModelProperty(value = "所属街道",required = true)
    private String orderStreetid;

    @ApiModelProperty(value = "问题类型",required = true)
    private String orderType;

    @ApiModelProperty(value = "问题大类",required = true)
    private String orderBigType;

    @ApiModelProperty(value = "问题小类",required = true)
    private String orderSmallType;

    @ApiModelProperty(value = "生成时间(yyyy-MM-dd HH:mm:ss)",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime orderCreateTime;

    @ApiModelProperty(value = "生成人",required = true)
    private String orderCreateUser;

    @ApiModelProperty("问题描述")
    private String orderDescription;

    @ApiModelProperty(value = "详细地址",required = true)
    private String orderAddress;

    @ApiModelProperty(value = "经度",required = true)
    private BigDecimal orderLongitude;

    @ApiModelProperty(value = "纬度",required = true)
    private BigDecimal orderLatitude;

    @ApiModelProperty(value = "图片信息",required = true, example = "[{\"id\":\"主键，修改时必填\",\"fileUrl\":\"附件地址\",\"fileTime\":\"生成时间(yyyy-MM-dd HH:mm:ss)\",\"mediaType\":\"附件类型\"}]")
    private String images;

//    @ApiModelProperty(value = "图片编号集合",required = true)
//    private Long[] imageArr;

    @ApiModelProperty(value = "工单类型(1:智能工单,2:人工工单)",required = true)
    private Integer type;

    @ApiModelProperty(value = "案卷状态", required = false,hidden=true)
    private Long orderStatus = StatusEnum.EVENT_LIAN.getStatusId();

    @ApiModelProperty(value = "推送状态", required = false,hidden=true)
    private Long orderPushStatus = StatusEnum.PUSH_DAI.getStatusId();

    public Long getEventId() {
        return eventId;
    }

    public void setEventId(Long eventId) {
        this.eventId = eventId;
    }

    public String getCameraCode() {
        return cameraCode;
    }

    public void setCameraCode(String cameraCode) {
        this.cameraCode = cameraCode;
    }

    public String getCameraName() {
        return cameraName;
    }

    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    public String getOrderAreaid() {
        return orderAreaid;
    }

    public void setOrderAreaid(String orderAreaid) {
        this.orderAreaid = orderAreaid;
    }

    public String getOrderStreetid() {
        return orderStreetid;
    }

    public void setOrderStreetid(String orderStreetid) {
        this.orderStreetid = orderStreetid;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderBigType() {
        return orderBigType;
    }

    public void setOrderBigType(String orderBigType) {
        this.orderBigType = orderBigType;
    }

    public String getOrderSmallType() {
        return orderSmallType;
    }

    public void setOrderSmallType(String orderSmallType) {
        this.orderSmallType = orderSmallType;
    }

    public LocalDateTime getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(LocalDateTime orderCreateTime) {
        this.orderCreateTime = orderCreateTime;
    }

    public String getOrderCreateUser() {
        return orderCreateUser;
    }

    public void setOrderCreateUser(String orderCreateUser) {
        this.orderCreateUser = orderCreateUser;
    }

    public String getOrderDescription() {
        return orderDescription;
    }

    public void setOrderDescription(String orderDescription) {
        this.orderDescription = orderDescription;
    }

    public String getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(String orderAddress) {
        this.orderAddress = orderAddress;
    }

    public BigDecimal getOrderLongitude() {
        return orderLongitude;
    }

    public void setOrderLongitude(BigDecimal orderLongitude) {
        this.orderLongitude = orderLongitude;
    }

    public BigDecimal getOrderLatitude() {
        return orderLatitude;
    }

    public void setOrderLatitude(BigDecimal orderLatitude) {
        this.orderLatitude = orderLatitude;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Long orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Long getOrderPushStatus() {
        return orderPushStatus;
    }

    public void setOrderPushStatus(Long orderPushStatus) {
        this.orderPushStatus = orderPushStatus;
    }
}
